package com.eastfair.venueservice.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.venueservice.entity.RepairReport;
import com.eastfair.venueservice.vo.RepairReportVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 报修申请
 * </p>
 *
 * @author dqq
 * @date 2022-11-21
 */
@Repository
public interface RepairReportMapper extends SuperMapper<RepairReport> {

    /**
     * 综合服务查询报修单.
     *
     * @param paramPage    the param page
     * @param queryWrapper the query wrapper
     * @return the list
     */
    Page<RepairReportVO> listRepairReportVOForVenue(Page<RepairReport> paramPage,
                                                    @Param(Constants.WRAPPER) QueryWrapper<RepairReport> queryWrapper);

}
